export Function
Video ​
Constructor ​
ts
PaidMedia.Video( media, thumbnail, width, height, duration, supports_streaming )
Parameter | Type | Description |
---|---|---|
media | string | The media to attach. |
thumbnail? | string | The thumbnail of the media to attach. |
width? | number | Video width. |
height? | number | Video height. |
duration? | number | Video duration. |
supports_streaming? | boolean | Pass True if the uploaded video is suitable for streaming |
Return: Object